<!---- SUI模板 on ${DATE} -->
<script ng-init="initCss('others-profile-page/css/others-profile.css')"></script>
<header class="bar bar-nav">
    <a class="icon icon-left pull-left button-nav" href="javascript:history.go(-2);"></a>
    <h1 class="title" ng-model="userInfo.userNickName">{{userInfo.userNickName}}的资料</h1>
    <a class="icon pull-right button-nav clock" ng-click="getOtherHistory()">历史任务</a>
</header>
<div class="content" ng-init="getOthersProfile()">
    <div class="user-data">
        <div class="avator">
            <img ng-if="!userInfo.avatarImg.imgAddress" src="page/personal-profile-edit-page/images/avatar.png">
            <img ng-if="userInfo.avatarImg.imgAddress" ng-src="{{userInfo.avatarImg.imgAddress}}">
            <div class="profile-nickname" ng-model="userInfo.userNickName">{{userInfo.userNickName}}</div>
        </div>
    </div>
    <div class="list-block" style="margin-top: 0rem">
        <ul>
            <li>
                <div class="item-content">
                    <div class="item-inner">
                        <div class="item-title label">性别</div>
                        <div class="item-input ssex">
                            <div class="item-title label" class="user-ssex">男</div>
                        </div>
                    </div>
                </div>
            </li>
            <li>
                <div class="item-content">
                    <div class="item-inner">
                        <div class="item-title label">年龄</div>
                        <div class="item-input">
                            <div class="item-title label user-age" ng-model="userInfo.age">{{userInfo.age}}</div>
                        </div>
                    </div>
                </div>
            </li>
            <li ng-if="userInfo.userTelphone">
                <div class="item-content">
                    <div class="item-inner">
                        <div class="item-title label ">手机</div>
                        <div class="item-input">
                            <div class="item-title label user-tel" ng-model="userInfo.userTelphone">
                                ***{{userInfo.userTelphone.substr(1,1)}}****
                            </div>
                        </div>
                    </div>
                </div>
            </li>
            <li ng-if="userInfo.userEmail">
                <div class="item-content">
                    <div class="item-inner">
                        <div class="item-title label ">邮箱</div>
                        <div class="item-input">
                            <div class="item-title label user-email" ng-model="userInfo.userEmail">
                                ****{{userInfo.userEmail.substr(1,1)}}@qq.com
                            </div>
                        </div>
                    </div>
                </div>
            </li>
            <li class="personal-introduce-bg">
                <div class="item-content ">
                    <div class="item-inner">
                        <div class="item-title label ">个人介绍</div>
                        <div class="item-input">
                            <div class="item-title user-introduce" ng-model="userInfo.userDetail"><p>
                                {{userInfo.userDetail}}</p></div>
                        </div>
                    </div>
                </div>
            </li>

        </ul>
    </div>
</div>
<div ng-init="suiMobileInit()"></div>